package com.gitee.zhangchenyan.takin.service;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("分页查询出参")
public class PageResult<T> {
    @ApiModelProperty("页码")
    private long pageNumber;
    @ApiModelProperty("页条数")
    private long pageSize;
    @ApiModelProperty("总条数")
    private long totalNum;
    @ApiModelProperty("总页数")
    private long pages;
    @ApiModelProperty("页数据")
    private List<T> data;
}
